package com.example.myapplication;

public class HardControl {


    public static native int ledOpen(); //打开设备
    public static native int ledCtrl_on(int which, int status);//打开led灯
    public static native int ledCtrl_off(int which, int status);//关闭led灯
    public static native int ledCtrl_close(int which);//关闭设备




    static
    {
        System.loadLibrary("myapplication");
        System.loadLibrary("gpiod");
    }
}
